package com.dream.inspect.modules.business.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.dream.inspect.common.utils.PageUtils;
import com.dream.inspect.common.utils.Query;

import com.dream.inspect.modules.business.dao.SuperviseQuestionBackupDao;
import com.dream.inspect.modules.business.entity.SuperviseQuestionBackupEntity;
import com.dream.inspect.modules.business.service.SuperviseQuestionBackupService;


@Service("superviseQuestionBackupService")
public class SuperviseQuestionBackupServiceImpl extends ServiceImpl<SuperviseQuestionBackupDao, SuperviseQuestionBackupEntity> implements SuperviseQuestionBackupService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<SuperviseQuestionBackupEntity> page = this.selectPage(
                new Query<SuperviseQuestionBackupEntity>(params).getPage(),
                new EntityWrapper<SuperviseQuestionBackupEntity>()
        );

        return new PageUtils(page);
    }

}
